<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/29
  Time: 13:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>登录</title>
      <style>
          #login{
              position: relative;
              top:260px;
          }
          .a{
            width: 300px;
            height: 150px;
          }
          tr>td{
            font-family: "微软雅黑";
            font-size: 18px;

          }
          .bth{
              font-size: 16px;
              width: 60px;
              height: 30px;
          }
      </style>
  </head>
  <body>
  <div>
      <div id="login">
          <form action="/student_demo/loginServlet" method="post">
             <table border="1px " align="center" cellspacing="0" class="a">
                 <tr align="center">
                     <td>用户名</td>
                     <td><input type="text" name="loginname"></td>
                 </tr>
                 <tr align="center">
                     <td>密码</td>
                     <td><input type="password" name="pass"></td>
                 </tr>
                 <tr align="right">
                     <td colspan="2"><button type="submit" class="bth">登录</button></td>
                 </tr>
             </table>
          </form>
      </div>
  </div>
  </body>
</html>
